<template>
  <div class="otherrank">
    <div class="image">
      <img :src="item.coverImgUrl | imgURL(240)" alt="" />
      <h6></h6>
      <p>{{ item.updateFrequency }}</p>
      <h5></h5>
    </div>
    <div class="text">
      <h3>{{ item.name }}</h3>
    </div>
  </div>
</template>

<script>
export default {
  props: ["item"],
};
</script>

<style lang="less" scoped>
.otherrank {
  width: 29vw;
  padding-bottom: 10px;
  .image {
    width: 100%;
    height: 29vw;
    position: relative;
    background-image: url("../assets/loading.gif");
    background-size: cover;
    background-position: center;
    img {
      border-radius: 10px;
      vertical-align: middle;
    }
    h6 {
      position: absolute;
      left: 5px;
      top: 4px;
      width: 15px;
      height: 15px;
      background-color: rgba(0, 0, 0, 0.3);
      border-radius: 50%;
      background-image: url("../assets/cn5.png");
      background-repeat: no-repeat;
      background-size: 80%;
      background-position: 1.2px 1px;
    }
    h5 {
      width: 20px;
      height: 20px;
      background-image: url("../assets/chm.png");
      background-size: 100%;
      background-position: center;
      background-repeat: no-repeat;
      position: absolute;
      right: 5px;
      bottom: 5px;
    }
    p {
      position: absolute;
      right: 0;
      top: 4px;
      font-size: 12px;
      color: rgba(255, 255, 255, 1);
      padding: 0 5px;
      border-radius: 10px;
      background-color: rgba(0, 0, 0, 0.3);
      transform: scale(0.9);
    }
  }
  .text {
    padding-top: 5px;
    width: 100%;
    text-align: left;
    font-size: 13px;
    font-weight: bolder;
    text-indent: 2px;
  }
}
</style>